<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;


class MapController extends Controller
{
    public function geocoder(Request $request)
    {
        $result = app('App\Services\MapService')->geocoder($request->location);
        return $this->success($result);
    }

}
